package com.sinux.mms.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.GenericGenerator;

/**系统用户
 * @author WangGan
 * @version 2017年6月10日 下午11:51:21 
 * 
 */
@Entity
@Table(name = "sys_user")
@SuppressWarnings("all")
public class Suser {
	/**系统用户id*/
	private String id;
	/**系统用户姓名*/
	private String name;
	/**系统用户登录名*/
	private String logname;
	/**系统用户手机号*/
	private String phone;
	/**系统用户密码*/
	private String pwd;
	/**时间*/
	private String cdate;
	
	private String temp1;
	private String temp2;
	private String temp3;
	private String temp4;
	
	@Id
	@GenericGenerator(name = "system-uuid", strategy = "uuid.hex")
	@GeneratedValue(generator = "system-uuid")
	@Column(name = "id", unique = true, nullable = false, length = 64)
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	@Column(name = "name", nullable = false, length = 64)
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	@Column(name = "logname", nullable = false, length = 64)
	public String getLogname() {
		return logname;
	}
	public void setLogname(String logname) {
		this.logname = logname;
	}
	@Column(name = "phone", nullable = false, length = 64)
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	@Column(name = "pwd", nullable = false, length = 64)
	public String getPwd() {
		return pwd;
	}
	public void setPwd(String pwd) {
		this.pwd = pwd;
	}
	
	public String getCdate() {
		return cdate;
	}
	public void setCdate(String cdate) {
		this.cdate = cdate;
	}
	
	public String getTemp1() {
		return temp1;
	}
	public void setTemp1(String temp1) {
		this.temp1 = temp1;
	}
	public String getTemp2() {
		return temp2;
	}
	public void setTemp2(String temp2) {
		this.temp2 = temp2;
	}
	public String getTemp3() {
		return temp3;
	}
	public void setTemp3(String temp3) {
		this.temp3 = temp3;
	}
	public String getTemp4() {
		return temp4;
	}
	public void setTemp4(String temp4) {
		this.temp4 = temp4;
	}
	
	
	
	

}
